home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 15
/
Aminet 15 - Nov 1996.iso
/
Aminet
/
dev
/
gcc
/
ixemsdk.lha
/
man
/
cat3
/
remove.0
< prev
next >
Wrap
Text File
|
1996-09-02
|
1KB
|
32 lines
REMOVE(3) UNIX Programmer's Manual REMOVE(3)
NNAAMMEE
rreemmoovvee - remove directory entry
SSYYNNOOPPSSIISS
##iinncclluuddee <<ssttddiioo..hh>>
_i_n_t
rreemmoovvee(_c_o_n_s_t _c_h_a_r _*_p_a_t_h)
DDEESSCCRRIIPPTTIIOONN
The rreemmoovvee() function is an alias for the unlink(2) system call. It
deletes the file referenced by _p_a_t_h.
RREETTUURRNN VVAALLUUEESS
Upon successful completion, rreemmoovvee() returns 0. Otherwise, -1 is re-
turned and the global variable _e_r_r_n_o is set to indicate the error.
EERRRROORRSS
The rreemmoovvee() function may fail and set _e_r_r_n_o for any of the errors speci-
fied for the routine unlink(2).
SSEEEE AALLSSOO
unlink(2)
SSTTAANNDDAARRDDSS
The rreemmoovvee() function conforms to ANSI C3.159-1989 (``ANSI C'').
BSD Experimental June 4, 1993 1